From 0d8c1c9c0992525d2a3250df65c9b5300e33c5ba Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 13 May 2014 11:19:49 -0400 Subject: [PATCH] Improve the GTK_STYLE_PROVIDER_PRIORITY_FALLBACK docs Explain possible gotcha with catch-all rules. --- gtk/gtkstyleprovider.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk/gtkstyleprovider.h b/gtk/gtkstyleprovider.h index ef5c3555ce..a33ce4345a 100644 --- a/gtk/gtkstyleprovider.h +++ b/gtk/gtkstyleprovider.h @@ -40,6 +40,11 @@ G_BEGIN_DECLS * * The priority used for default style information * that is used in the absence of themes. + * + * Note that this is not very useful for providing default + * styling for custom style classes - themes are likely to + * override styling provided at this priority with + * catch-all `* {...}` rules. */ #define GTK_STYLE_PROVIDER_PRIORITY_FALLBACK 1 -- 2.30.2